package com.guardchina.framework.mybatis.annotation;

import com.guardchina.framework.mybatis.enu.DataSourceType;

import java.lang.annotation.*;

/**
 * 描述：数据源选择注解
 *
 * @author lwb
 * @date 2019/3/22 12:01
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface UseDataSource {

    DataSourceType value() default DataSourceType.master;
}
